Ensure that websocket support is enabled
example connection request,
var logSocket = new WebSocket("ws://192.168.56.101:8082/ws/helloworld4");
Use Websock authentication to link client userid with session id