Cleaning up SockJsMultiplexer plus adding comments.