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.
Merge pull request #2588 from swansontec/ssl-cert-path2

Add support for setting the SSL CA location