Bug 862870. Implement splice batching with forced flushes if batching too much

Modified to forcefully flush if we have over 5 batched requests.