Use a custom inet_pton and avoid inet_ntoa for now

When/if ipv6 is needed we can fix inet_ntop.  Not heavily tested, but makes Windows XP run again without errors.

-[Unknown]