Change NetConnectNotAllowedError to inherit Error

The NetConnectNotAllowedError did not inherit from an actual Error class.

This came up while integrating nock with our generator-based test suite.