'Setup a L{HTTPChannel} and a transport and associate them.
@param transport: A transport to back the L{HTTPChannel}
@param requestFactory: An object that can construct L{Request} objects.
@return: A tuple of the channel and the transport.'

def buildChannelAndTransport(self, transport, requestFactory):

    transport = transport
    channel = http.HTTPChannel()
    channel.requestFactory = _makeRequestProxyFactory(requestFactory)
    channel.makeConnection(transport)
    return (channel, transport)
