Updated monitoring sample with NSURLSession