replaced native WebSocket with SockJS