Added support for SockJS