SockJS: ws implementation