Add settings to trust forwarded address/protocol.

Also add example pound.cfg for Pound, and update the Varnish
configuration for the 4.0 syntax.

Conflicts:
	UPDATING
	ext/httpd-conf/varnish.vcl
	inc/dispatchroot.php
Minor updates to example configs.
Add example config for nginx as TLS reverse proxy.
Fix stupid mistakes.
Fix: STS, not STP.
Minor fixes in the nginx example config.
Fix page titles on search results.
Canonicalize URIs to preffered scheme when required.

Conflicts:
	UPDATING
Fix: don't cache ->relative when compiling snippets.
Fix: use creation_date if possible in commit_loadout().
Fix: URL-encoded forward slashes in URI paths are trouble.
Fix: fetch() returns false on error, not null.
Merge branch 'v0.12.1-hotfixes-https' into v0.13.0-hotfixes

Conflicts:
	ext/httpd-conf/nginx-sslproxy.conf
Fix: referrer leak in munged redirect.
Add Kronos 1.1 in version array.
Enable CSRF check for POST requests.
Remove zKillboard link in view_loadout.
Fix: manually count number of active users.
Remove debug code.
Fix: meta text for standing-restricted loadouts.