Added draft of protobuf client API