Add a mock client for protobuf testing.