code: def send_message(self, msg, stats=True):
          
          self.send_jsonified(proto.json_encode(msg), stats)
docs: Send or queue outgoing message
  
          @param msg: Message to send
  
          @param stats: If set to True, will update statistics after operation
                        completes