`detectHostPortAddress` should return address is not blank

& not the other way round?