Nginx x forwarded headers

Only set X-Forwarded-* headers if they aren't already set
Set X-Forwarded-Port header in proxies