Code cleanup

Exported mdns_str_type()
Added few defines
Fixed comments