Fixed a bug that fails to parse hostname starting with numbers.
According to RFC 1123, hostnames that begin with numbers are valid.
Merge pull request #276 from teng-lin/master

Fixed a bug that fails to parse hostname starting with numbers.