Plack::Middleware::Reproxy implements a simple reproxy mechanism via X-Reproxy-URL, like https://github.com/kazuho/mod_reproxy.