Optimized the implementation of NSURLConnection and better error reporting.
Updated example.
Merge pull request #1 from augustjoergensen/master

Better implementation of NSURLConnection and error reporting