Adding socket.io for real-time connectivity.