'Handle bridging data from sock to the other party.
Returns if the connection should continue.'

def bridge(self, sock):

    self.last_used = time.time()
    if (sock == self.client_socket):
        return self.client_bridge_fn()
    elif (sock == self.server_socket):
        return self.server_bridge_fn()
