(PE-5860) Add regex support to wrap-proxy

This PR adds regular expression support to the wrap-proxy function.
Was the capital "H" in the scheme intentional here?  If not, I'd probably make it lower-case even though our http client library apparently doesn't have a problem with it.