Use SSL_ERROR_WANT_READ and SSL_ERROR_WANT_WRITE