code: def negotiate(self, data):
          
          command, payload = data[0:1], data[1:]
          assert isinstance(command, bytes)
  
          if command == NAWS:
              self.naws(payload)
          else:
              logger.info('Negotiate (%r got bytes)', len(data))
docs: Got negotiate data.