Common name detector

Let's extract the Common Name and all the Subject Alternative Names

This has not been widely tested
Merge pull request #3 from oparoz/common-name-discovery

Common name detector