os: clean up checking for IPv6
- drop some unnecessary / obsolete ifdef's
- explicitly check whether AF_INET6 is available (instead of disabling it silently)
- drop unncessary extra check for AF_INET6 all over the sources (just rely on IPv6 define)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.