Use TLS for api calls