Fixes #8514 - Add support for requests to smart proxy discovery plugin

That was merged, so you can refactor now :)