code: def send_message(self, message, sign=True):
  		
  		if sign:
  			message.sign(self.authenticators[self.defauth])
  		logger.debug("sending %s", LazyStr(message.dump_oneline))
  		self.transport.write(message.as_string())
docs: Send the given message to the connection.
  
  		@type message: OmapiMessage
  		@param sign: whether the message needs to be signed
  		@raises OmapiError:
  		@raises socket.error: