Realtime chat using NodeJS and WebSocket