code: function setSocket (tool, socket, channel, room) {
      if (tool === 'io') {
        return io (window.location.host + channel);
      } else {
        var share  = new window.sharejs.Connection (new BCSocket (null, { reconnect: true }));
        return share.get (channel, room);
      }
    }
docs: /*
  Sets up the socket and channel for a specific room.