Updated socket.io configuration