Add support for setting the SSL CA location

This allows users to specify self-signed certificates, or to provide their
own certificate stores on limited platforms such as mobile phones.