(PE-5859) Keep entire request URI matching regex

When wrap-proxy is called with a regex, keep the entire
portion of the request URI matching the regex rather than
replacing it in the rewritten URI.
Should we use some URI path concatenation function here -- e.g., to avoid duplicating slashes or no slashes when we're combining two sub-paths?