members to using SSL_in_(connect|accept)_init to fix following visibility changes in libressl. While there, switch from TLSv1.0-only TLSv1_client_method to SSLv23_client_method allowing newer TLS versions. Diff from jsing.