rewrite urls in local proxy's exit handler