net.c: Keep track of whether the connection is IPv4 or v6

Necessary for making decisions in hub.c
hub.c: Support IPv6 active mode
listen.c: Fix formatting of ip:port strings
hub.c: Fix reporting of TCP6 and UDP6 in SU
doc: Updated ncdc(1) to reflect removal of the active_tls_port setting