Allow optional redirect host rewriting.

Hey all, really appreciate this great lib, here is a solution I implemented for host rewriting for redirects.

If you are interested in this I can add tests and docs. thanks again
Can we just precompile the regex at the top? (minor perf thing) Forgot to mention it before