Check for HTTP errors

NSURLConnection finished even 404 connections as there's content... So we need to force a failure because we are not interested in the HTML content of the error pages.