extended the host parsing.