Update for SockJS definition to fix constructor arguments