code: def create_protocol(self):
          
          self.sessions += 1
          protocol = self.protocol_factory(self)
          protocol.copy_many_times_events(self)
          return protocol
docs: Create a new protocol via the :attr:`protocol_factory`
  
          This method increase the count of :attr:`sessions` and build
          the protocol passing ``self`` as the producer.