Fix OpenSSL WANT_WRITE badness on Windows