first pass at C example to extract TLSA record
this is currently broken - rdata is truncated for some reason