This may not be compatible with IE10/11 as it can't connect to a Websocket without a path, will check later.