Fix handling of OpenSSL's SSL_clear_options