[OpenSSL bindings] get cipher list + secure renegotation status

This is a continuation of #1012 with style fixes and conditional bindings added. From the original PR:

"Adds support for the SSL_get_ciphers() function to extract more information and adds the macro to check if secure renegotiation is supported."