test websocket server implemented for nodejs