I should also modify my code to call `setEnabled:YES` maybe in `+initialize` instead of `init`. It seems a more logical place to register my `NSURLProtocol` subclass.

_This way as soon as we use _any_ `OHHTTPStubs` method, even one not creating the `sharedInstance` like simply `[OHHTTPStubs class]`, it will register the `NSURLProtocol` with the `NSURLSessionConfiguration` default condfigurations_

---

Side note: I am wondering, does this `protocolClasses` property of `NSURLSessionConfiguration` means that `+[NSURLProtocol registerClass]` only has effects on requests sent via `NSURLConnection`? Too bad Apple didn't decide that `[NSURLSessionConfiguration defaultConfiguration]` does not include the additional registered `NSURLProtocol` classes by default, so that any `NSURLProtocol` subclass registered in existing code (for `NSURLConnection`) would have continued working seamlessly with the new `NSURLSession`…