Missing `new` operator when creating and throwing a new error
Merge pull request #1114 from FredKSchott/linting-fix-missing-new

linting fix: Added a `new` operator that was missing when creating and throwing a new error
Fix typo in `noProxyHost` definition
Merge pull request #1116 from FredKSchott/badly-typed-var

Fix typo in `noProxyHost` definition
Fix a bad check for valid URIs