Bug #3872

Change AF_INET to AF_UNSPEC; corrects IPv4-only behavior observed on FreeBSD (probably fixes other OSes too.)