change curl to only use tls