Fixed socket.io connections