kfreebsd fix

kfreebsd fix: guard setsockopt option IP_RECVTOS.
Also return non-zero exit status when 50% or more pings to any one host fail, per request in http://bugs.debian.org/594696