Add socks5 proxy support
This PR adds socks5 proxy support to redpanda/console (fka kowl). Refer RFC 1928 and RFC 1929.
Usage:
ssh -N -D localhost:1080 <bastion_server>
export all_proxy=socks5h://localhost:1080
export KAFKA_BROKERS=<brokers_behind_protected_network>
./console
Hey @stainboy , just FYI I looked at the PR but I'm a bit hesitant to merge. Generally all looks good to me, the only reason why I'm hesitant is that we usually provide all config options via YAML + Env via the explicit config options that Console offers.
If you want to get this merged, I'd like to ask you to add this to our usual configuration structs including validation (all config structs have a validate method). When I find time I would the same, but I have never heard about the need for this. Thus I would also be interested in your usecase and how this option helps you.
Thank you for filing the PR!