socket.io connection fix