VX(C): Add the retry engine and its unit tests.