code: function(eventName, handler) {
        var t = this, socket = t.get('socket');
        t.socketEvents = t.socketEvents || {};
        if (t.socketEvents[eventName]) {
          throw new Error('Event already connected: ' + eventName);
        }
        socket.on(eventName, handler);
        t.socketEvents[eventName] = handler;
        return t;
      }
docs: Bind the specified handler to the remote socket message.
  
  Only a single handler (per message name) can be bound using this method.
  
  @method addEvent
  @protected
  @param eventName {String} The event name to handle
  @param handler {Function (args..., callback)} Called when the message is received.
  <ul>
  <li>args... {Mixed} Arguments sent in by the remote client</li>
  <li>callback {Function} Final arg if the client specified a callback</li>
  </ul>