Added option for intercepting NSURLSession calls