Fixed socket.io routing