Fix for: URLs like /socket.io, /socketXio, /socket.ioXXXX all cause the server to hang