refactor GeneralName iPAddress handling to use IPAddr. Also adds IPv6