URLValidator now validates the maximum length of a hostname and the maximum length of all labels inside the hostname.