DM's speedup of shortest path by shortcut
Merge pull request #558 from lassewesth/shortestpath

DM's speedup of shortest path by shortcut
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.