':param address: the address to which the client will request a
connection
:param port: the port to which the client will request a connection.
Default is 25333.
:param auto_close: if `True`, the connections created by the client
close the socket when they are garbage collected.
:param gateway_property: used to keep gateway preferences without a
cycle with the gateway'

def __init__(self, address=DEFAULT_ADDRESS, port=25333, auto_close=True, gateway_property=None):

    self.address = address
    self.port = port
    self.is_connected = True
    self.auto_close = auto_close
    self.gateway_property = gateway_property
    self.deque = deque()
