ustream-openssl: clear error stack before SSL_read/SSL_write