JDK's proxy handling supports a range of options, like -Dhttp.proxyHost=11.11.69.53 or -Dhttp.nonProxyHosts=*.lan|localhost|127.*|docker.for.mac.localhost|*.|*.default
It is easy to add this support using JDK's Proxy API. A patch showcasing its use by Netty Connector is attached.
netty_proxy_opts.zip
This patch will support the options, if no PROXY is specified explicitly.