get http() {
      if (!this._http) {
        this._http = http.createServer(function(req,res) {
          return ss.http.middleware(req,res);
        });
        // Create a new SockJS server and bind to /ws
        var sockjs = ss.require('sockjs'),
            ws = this.ws = sockjs.createServer(config.server);
        ws.installHandlers(this._http, {prefix: '/ws'});

        // Handle incoming connections
        ws.on('connection', onConnection );
      }
      return this._http;
    }
TODO pass default configuration. If debugging set on client. On server map the default logger.

  client: {
    debug: true
  },
  server: {
    log: function(severity, message){
      console.log('Custom logger >>>', severity, message);
    }
  }