'Register a producer.
If TLS is enabled, the TLS connection handles this.'

def registerProducer(self, producer, streaming):

    if self.TLS:
        self.protocol.registerProducer(producer, streaming)
    else:
        abstract.FileHandle.registerProducer(self, producer, streaming)
