add inet_ntop/inet_pton functions
socks module: polish, add tests