testclient: handle batch-encrypted server commands