Stop using platform inet_aton/inet_addr; they can behave strangely on certain misformed addresses. svn:r1111