Hotfix for secure websockets