SSLv23_method
const SSL_METHOD *SSLv23_method(void); /* SSLv3 or TLSv1.* */
if ((ssl_ctx = SSL_CTX_new(SSLv23_method())) == NULL) {