Add mdns_put_name_size_required method to mdns_util. Calculates size
required to put the name in the data stream without actually storing
it.