SOCKS5 support by default

Add -socks=<n> to select SOCKS version to use. 4 and 5 are supported,
5 is default.