set_session_id to openssl context