If Socket::inet_pton() exists use that for basic is_ipv{4,6} validation

This is about 5 times faster for IPv4 addresses and 20 times faster for IPv6.
Converted to dzil