Added resuming feature for NSURLSession