node.js client web socket applied