Comparing 2 invalid hosts would erroneously return equal, because they would compare the invalid host string.