Generalized exceptions from urllib2.HTTPError