Side note: I released https://tabserve.dev a few months ago.
It uses a browser tab and web workers as a reverse proxy to get a https url to localhost.