Clean up the address comparison
so that it now also builds on FreeBSD.
It turns out that most likely we will need separate
socket handles for IPv4 and IPv6 - OpenBSD apparently
cannot do both on the same handle, and FreeBSD appears
not to honor IPV6_V6ONLY (needs investigating).
So on FreeBSD, right now, only IPv6 works.