code: function init(domainManager) {
      _domainManager = domainManager;
      if (!domainManager.hasDomain("webSocketTransport")) {
          domainManager.registerDomain("webSocketTransport", {major: 0, minor: 1});
      }
      
      domainManager.registerEvent(
          "webSocketTransport",
          "message",
          [
              {
                  name: "msg",
                  type: "string",
                  description: "JSON message from client page"
              }
          ]
      );
      
      domainManager.registerCommand(
          "webSocketTransport",       // domain name
          "start",                    // command name
          _cmdStart,                  // command handler function
          false,                      // this command is synchronous in Node
          "Creates the WS server",
          [
              {
                  name: "port",
                  type: "number",
                  description: "Port on which server needs to listen"
              }
          ],
          []
      );
      
      domainManager.registerCommand(
          "webSocketTransport",       // domain name
          "close",                    // command name
          _cmdClose,                  // command handler function
          false,                      // this command is synchronous in Node
          "Kills the websocket server",
          []
      );
  }
docs: Initializes the domain and registers commands.
  @param {DomainManager} domainManager The DomainManager for the server