Use SOCK_ERRNO consistently
Everywhere that we currently say
#ifdef _WIN32
frobnicate(WSAENOWOMBATS);
#else
frobnicate(ENOWOMBATS);
#endif
we ought instead to just say:
frobincate(SOCK_ERRNO(ENOWOMBATS));
in order to help get internal #ifdefs out of our functions.