var.c: Allow local_address and active_ip to be set to both IPv4 and IPv6
net.c: Support binding to local_address on IPv6, too

makeheaders is really being annoying here :(