address: improve helpers
socks: initial support for SOCKS 4 and 4a