code: function onRequestServer(session, channel, message) {
    if (message.name == "createAgent")  return onRequestCreateAgent(session, channel, message)
    if (message.name == "destroyAgent") return onRequestDestroyAgent(session, channel, message)
    if (message.name == "getAgents")    return onRequestGetAgents(session, channel, message)
  
    channel.sendMessage({
      type:  "response",
      name:  message.name,
      from:  message.to,
      id:    message.id,
      error: "unknown message"
    })
  }
docs: ------------------------------------------------------------------------------