Report NetConnectNotAllowedErrors through the error event rather than throwing an Error
Merge branch 'mdlavin-correct-disabled-netconnect-error-reporting'
v0.40.0