let utils.ParseHost return err when errors happen