A flexible way to mock NSURLConnection requests