Development update: added OpenSSL related memory cleanup