Add thin openssl shim for OpenSSL 1.1.x and LibreSSL compatibility functions

Ondřej Surý requested to merge 328-add-openssl-shim into master

This is just a preparation for more OpenSSL refactoring.

Merge request reports