Reject empty strings for Ip4 and Ip6 addresses.