Adjusted socket.io to work with cloudflare