Socket.io Integration