- The category is now using instance methods as suggested by @AliThink
- Added nullability specifiers for better compatibility with Swift
- Removed half of the code by taking advantage of the „advanced“
counterpart method (e.g. by creating an NSURLRequest from a given NSURL)