Use trunnel to parse and generate SOCKS wire format in tor-resolve