httplib2 exception modified and 'no prescaling applied' detection added