Issue 84

Fixes building of service url when X-Forwarded-* headers are present indicating that the request was proxied.  In this case, the service url should be generated for the original request, not the proxied request.