Merge pull request #1893 from reaperhulk/san-example

add example to show how to get DNSNames from SAN extension