ssl: Don't use global openssl context

Fixes #789