Use optionally httplib2 with caching