Add a way to check if a host is an IP address