HTTP 303 Redirection Location header rewriting with x-forward

Wrote this code to solve issue with 303 Redirection when using simple-http-proxy in our application. Though to merge this code back.