urllib2.HTTPError.reason does not exist in Python 2.6