rest style client proto