patch to enable https tunnel when opening in browser