Port of httplib2's caching to requests
