Implement cs_set_ssl_ctx which sets SSL_CTX for SSL comstack.