Now checks if the "root" cert of a chain is actually a root cert when its only signed with SHA-1, to get the certificate data an ugly hack has been applied
found a better way to get at the first intermeidate cert raw data :)
some initial refactoring, not stable
compressed whitespace and removed comments in ca bundle
use @jonnybarnes' test domain instead of @mathiasbynens'
load root bundle in, split and parse each one, store fingerprints

then compare each seen cert's fingerprint to the root bundle
Merge pull request #54 from konklone/root-certs

Ignore server-provided root certificates