Created a filter for dealing with X-Forwarded-Host and X-Forwarded-Proto much further down the stack than they currently are. This should enable all of the Neo4j server resources (including / and /db/manage) to be addressed via an external hostname and other URI scheme.
Created a filter for dealing with X-Forwarded-Host and X-Forwarded-Proto. Moved the handler code out of the OutputFormatProvider into a jetty filter much further down the stack. This should enable all of the Neo4j server resources (including / and /db/manage) to be addressed via an external hostname and other URI scheme.
Tidied up unused variables.
Made sure the regex can deal with transaction IDs greater than 9 to rectify a flaky test (which actually fails locally for me)