Benchmark server and client, with test hooks.