code: function(callback) {
  
        // Detect server errors
        var t = this, server = t.get('server');
        server.on('clientError', function(err){
          console.error('Client error detected on server', err);
          t.trigger('error', err);
        });
        server.on('close', function(err){
          server.hasEmittedClose = true;
          t.stop();
        });
  
        // Notify that we've started
        t.isListening = true;
        if (callback) {
          callback(null);
        }
        t.trigger('start');
      }
docs: Bind incoming socket events to the server
  
  @protected
  @method _bindEvents
  @param callback {Function(error)} - Called when all events are bound