1. Restructure to allow for future handling of invalid/error certs.
   Add module initialisation and add print_cert() which will in the future
   prompt users (in interactive mode) about certificates
2. Add verbose messages to track SSL status
3. Fix bug in get_DNSentry which would match against *any* subjectAltName
   entry, rather than the first dnsName (ie it matched against email
   addresses - oops)
Set to the default trust store of SSL_CERT_DIR if it exists