switch to socket.io
clean replacement of ws
handle server deconnections
remove all ws allusions