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

Should this be `if subnet.discovery.present?` ?