[sr-dev] git:master:043ce0e7: stirshaken: Properly handle intermediary/chain certificates when caching certificates