unified SSL_CERT_DIR and --ssl-certstore features

As requested, unified the two methods of setting an alternative ssl certificate store and squashed down into one commit.  Neither option messes with the embedded qt build.