Use Net::IP to check if a string is an ipv4 or not