React well to cross-os non-blocking connect calls.

In particular, it looks like windows gives a WSAEWOULDBLOCK error code
while mac/linux gives EINPROGRESS.