Renamed protocol-files to test-files
Use relative paths for locally-served files.
Merge branch 'master' into beta: use relative paths
Fix one more missed relative path.
Adjust code for proxy use (e.g., environment=production or environment=beta).
Merge proxy-friendly changes from master into beta.