code: def __pack_message(operation, data):
      
      rid = _randint()
      message = _pack_header(16 + len(data), rid, 0, operation)
      return rid, message + data
docs: Takes message data and adds a message header based on the operation.
  
      Returns the resultant message string.