Batch requests, prevent from sending empty messages to main thread.
Merge pull request #157 from square/dimitris/batching

Batch requests, prevent from sending empty messages to main thread.