socks5-protocol provides types that can be read from AsyncRead and write to AsyncWrite.
socks5-protocol
AsyncRead
AsyncWrite
You can create socks5 server or socks5 client using this library.