SSL_get_version - get the protocol version of a connection.
#include <openssl/ssl.h>
const char *SSL_get_version(const SSL *ssl);