'Create an SSL client endpoint which will connect localhost on
the port given by C{serverAddress}.
@type serverAddress: L{IPv4Address}'

def client(self, reactor, serverAddress):

    return SSL4ClientEndpoint(reactor, '127.0.0.1', serverAddress.port, ClientContextFactory())
