':return: fresh TCP/IP connection'

def connect_socket(self):

    sock = create_connection((self.host, self.port))
    if getattr(self, '_tunnel_host', None):
        self.sock = sock
        self._tunnel()
    return sock
