Better OpenSSL error reporting