Implement RewriteTarget to allow requests to be rewritten before proxying to upstream servers
mentioned in commit f41f1505