Deal with the absence of WSAEWOULDBLOCK on non-Windows platforms