swapping to UNIX errors
fixing default socket check if socket is 0
ENETUNREACH on dgram
travisplexer: pr-475-osx travis ci test