'Generate a channel attached to this site.'

def buildProtocol(self, addr):

    channel = http.HTTPFactory.buildProtocol(self, addr)
    channel.requestFactory = self.requestFactory
    channel.site = self
    return channel
