The Neo Rest API already has the ability to rewrite URLs.  It just needed the X-Forwarded-Host and Proto headers to be populated correctly.  Added the new headers and removed any references to parsing the response content as it's not required.