non-qt change for SSL_CERT_DIR
automatic expansion for directories for SSL_CERT_DIR and --ssl-certstore
cleaned up debugging code and unified ssl alternative certstore code