Add OpenSSL initialization and cleanup.