idf_monitor: support to re-flash with the using port Closes IDFGH-2479 and IDF-836 See merge request espressif/esp-idf!6373