Refactored custom error string lookup for the WinINet downloader