Move most of the test-client to a new keyholerd.client library