Added support for X-Forwarded-Host and X-Forwarded-Proto headers to allow parameterising of links in data for hosting behind proxy servers.
Merge pull request #557 from jimwebber/master

Allow server to be deployed painlessly in behind-the-proxy use-cases.