Code cleanup

Added mdns_format_address_name()
Renamed types