Get the proxy configured for a given network, if any.
Declared in <netbase.h>
<netbase.h>
std::optional<Proxy> GetProxy(Network net);
The configured proxy, or std::nullopt if none is set.