Support the RESOLVE PTR Tor command in the socks5 API

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Add IPv6 support to Tor resolve command

Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Fix: set maximum possible buffer in SOCKS5 resolve req.

Signed-off-by: David Goulet <dgoulet@ev0ke.net>