fixes for proxy server for possibly reverse proxy