mdns: Add support for dynamic network interfaces Closes IDF-939 See merge request espressif/esp-idf!14875