client: Implement Socks identification and authorization (#29591)

Closes #28792 

supersedes #28854 

- Adds support for Socks V4 Identification using a userid, and
Authorization using a username and password on Socks V5.
- Added tests for parsing various Socks proxy urls.
- Added a test for making sure a misconfigured socks proxy url doesn't
expose the user by connecting directly as a fallback.

Release Notes:

- Added support for identification and authorization when using a sock
proxy
6b37646179tidely committed on 5/6/2025, 8:03:56 AM· committed by GitHubparentda3a696
2 files changedLine totals unavailable