def __init__(self, host): """ Create a new bitcoin server connection. """ self.host = host self.proxy = AuthServiceProxy(host, exception_wrapper=wrap_exception)