docs: def _parse_packet(rawdata):
      """ Returns a tupel (opcode, minusconf-data). opcode is None if this isn't a -conf packet."""
  
      if (len(rawdata) < len(_MAGIC) + 1) or (_MAGIC != rawdata[:len(_MAGIC)]):
          # Wrong protocol
          return (None, None)
  
      opcode = rawdata[len(_MAGIC):len(_MAGIC)+1]
      payload = rawdata[len(_MAGIC)+1:]
  
      return (opcode, payload)