Backport #19543 hostmatcher: split the hostname from the hostname:port string, use the correct hostname to do the match.