GITHUB#184 make use of libssh2_session_set_timeout version dependent.
Suppress OpenSSL deprecation warnings on Mac and fix ssl_ctx leak.