Support for running via a proxy and fixes for relative loading of files in pacto-server