added two functions for batch operations

The function names are:
_sendBatchRequest and _sendBatchRequest_v3