'Caches proxy and target addresses.
\'proxy\' argument is a dictionary with mandatory keys \'host\' and \'port\' (proxy address)
and optional keys \'user\' and \'password\' to use for authentication.
\'server\' argument is a tuple of host and port - just like TCPsocket uses.'

def __init__(self, proxy, server, use_srv=True):

    TCPsocket.__init__(self, server, use_srv)
    self.DBG_LINE = DBG_CONNECT_PROXY
    self._proxy = proxy
