fix: get host by name, buffer length issue
fix: get host by name, buffer length issue

arduino-org/arduino-firmware-esp,andrea-83/arduino-firmware-esp,arduino-org/arduino-firmware-esp,andrea-83/arduino-firmware-esp,andrea-83/arduino-firmware-esp,andrea-83/arduino-firmware-esp,arduino-org/arduino-firmware-esp,arduino-org/arduino-firmware-esp