WebSocket emulation - Node.js server