def makeClient(socket):
    client = Connection(Context(v2), socket)
    client.set_connect_state()
    client.set_session(originalSession)
    return client
def makeClient(socket):
    client = Connection(Context(v2), socket)
    client.set_connect_state()
    client.set_session(originalSession)
    return client