introduce ensure_no_http_requests

Allow users to prevent HTTP requests in their tests. One use case is to force mocking of data in tests, instead of relying on external servers or services.
Can you use `assertRaises`?