Treat ssl.SSL_ERROR_WANT_WRITE and ssl.SSL_ERROR_WANT_READ like EAGAIN