Switch to using NSURLConnection for iOS 6 compatibility.