Add batch support for the client side. #10

//cc @dodev @lemmy-
nonexistent