ensures that io.Socket won't try to use WebSockets