Fixing issue with NSURLSession support on iOS8+