fixing the 127.0.0.1 socket.io connection