Added conditionals for crazy WebSockets. (Windows doesn't like
everything being on one thread, apparently.)