Accept match on "Subject Alternative Name" for SSL certificates.

For example, Google uses a certificate with Common Name "google.com", but the same certificate is trusted when used on google.co.uk, as that hostname is an accepted Subject Alternative Name.
typos and style
remove spurious 443s

these try to analyze an additional host called "443" which fails.
Merge pull request #3 from jabley/patch-1

typos and style
Merge pull request #1 from orrc/patch-1

Accept match on "Subject Alternative Name" for SSL certificates.
Merge pull request #4 from philandstuff/master

remove spurious 443s