allow non-blocking connect to succeed, as it does on OpenBSD