Use SSL_get_client_ciphers() instead of reaching inside the SSL_CIPHERS struct.
OK abieber@
OK rsadowski@, tweaks from Paco Esteban