Allow server to be deployed painlessly in behind-the-proxy use-cases
backport of https://github.com/neo4j/neo4j/pull/557