[tor-commits] [tor/master] Implement replaycache_t for bug 6177, and unit tests for the preceding