use IO#sync in place of #flush
smarter detection of hostname
write to ssh instead of pinger to test for hangs; detect hostname rather than require argument
consume the ssh connection test packets, so they do not load the queue