support for batching
added readme notes for batching
fixed typo in readme
minor refactor to contain batching-specific logic a bit, and ensure all callbacks are called if batch call fails
example title
fix id persistence in cases where the server is generating a new session id - fixes #545 (internal ticket)