change sockjs to basic websocket for communicatio with mobile