code: function(client, socket) {
          OrionSocketAdapter.call(this, client);
  
          var self = this;
          this.socket = socket;
          this.authenticated = false;
  
          // Register incoming message handler
          this.socket.addEventListener('message', function(e) {
              self._onMessage(JSON.parse(e.data));
          });
      }
docs: The socket adapter for OT using CollabSocket as the communitation socket
  
  @class
  @extends orion.collab.OrionSocketAdapter
  @name orion.collab.OrionCollabSocketAdapter
  
  @param {orion.collabClient.CollabClient} client
  @param {orion.collabClient.CollabSocket} socket