pub fn stream_preference(req: &SocksRequest, addr: &str) -> StreamPrefs
Find out which kind of address family we can/should use for a given SocksRequest.
SocksRequest