[Curl] Add TLS debugging feature to log encryption keys