Merge pull request #1872 from reaperhulk/san-rfc822-ip-dirname

add support for ipaddress to general name parsing