Hostname validator

Check the length and label syntax of an ASCII hostname, including punycode labels.