[#2229] Tentative fix for parseHostAddrStr()