Update IP glob matching to work more accurately with IPv6.