host_port: only parse up to 254 characters of hostname in host_string.