Improve IP detection regex so it isn't fooled by domains that
look like IP addresses.