[OpenSSL bindings] get cipher list + secure renegotation status

This is a continuation of #1012 with style fixes and conditional bindings added. Should build now with OpenSSL < 0.9.8m.

Adds support for the SSL_get_ciphers() function to extract more information and adds the macro to check if secure renegotiation is supported.