Add SSL_CTX method getter to fix #794
Merge pull request #841 from public/ssl-ctx-method

Add SSL_CTX method getter to fix #794