* fix: specify type for mode and host variables to improve clarity and type safety * fix: specify types for pac_url and host variables to enhance type safety * fix: change type of pac_url from Url to String for consistency in handling PAC output