Provide cacert option

Gives the user the option to provide a path to a certificate authority file.