'Connect a proxy client to a L{StringTransportWithDisconnection}.
@param proxyClient: A L{ProxyClient}.
@return: The L{StringTransportWithDisconnection}.'

def connectProxy(self, proxyClient):

    clientTransport = StringTransportWithDisconnection()
    clientTransport.protocol = proxyClient
    proxyClient.makeConnection(clientTransport)
    return clientTransport
