I've only implemented what I needed (no bind command or userid support), it's dirtier than I'd like, and I didn't add any tests. I've also never written SOCKS-related code before. Seems to work so far, though. (tested by quickly adding it to reqwest)
Since I only need this for a random side project I don't expect that I'll clean this up any. Hopefully you find it useful in some way.
I've only implemented what I needed (no bind command or userid support), it's dirtier than I'd like, and I didn't add any tests. I've also never written SOCKS-related code before. Seems to work so far, though. (tested by quickly adding it to reqwest)
Since I only need this for a random side project I don't expect that I'll clean this up any. Hopefully you find it useful in some way.