make message processing asynchronous from the web thread
Merge pull request #126 from dimagi/async-backend

make message processing asynchronous from the web thread