Real Time Connection with Node - PostgreSQL using WebSocket socket.io