Insertng reverse proxy capabilities.

If you want to use the webui with another prefix than "/",
you can set a modified header with:

X-Script-Name: /myprefix
X-Scheme: https

see reverse.py