host: Ignore spaces around - when parsing ranges