Fix sockjs adapter