fixed erronious muck-up in ws_server.js and started tests for web sockets