add h_seq_len
add H_FIELD variants for built-in types
apply some simplifications to dns example
fix semantic action on A records
use H_CAST in set_rdata
add h_seq_elements accessor
use more glue in dns.c