Fixed urllib2 client issue with empty error messages