'When a connection is made, register this wrapper with its factory,
save the real transport, and connect the wrapped protocol to this
L{ProtocolWrapper} to intercept any transport calls it makes.'

def makeConnection(self, transport):

    directlyProvides(self, providedBy(transport))
    Protocol.makeConnection(self, transport)
    self.factory.registerProtocol(self)
    self.wrappedProtocol.makeConnection(self)
