Add socket adapter.
Set up client to subscribe to a document over socket.io.