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
Merge branch 'v0.12.1-hotfixes-https' into v0.13.0-hotfixes

Conflicts:
	ext/httpd-conf/nginx-sslproxy.conf