Make curl work with self signed certs