* Fixed unsafe conversion to underscore string
* Fixed formatting
* Save one byte if underscore not needed
* Don't allocate new string if already underscored
* Fix missing first character while copying
* Renamed function and made it inline
* Don't use signed index variable when searching for service
* Add proper cleanup of LwIPmDNS
- Free allocated memory both on end() and in the destructor
- Unregister callback from netif
* Don't free const pointer
* Removed unneeded casting
* Don't break the loop if failed to add txt record
* Fixed code formatting