Make Router a subclass of Receiver and have it receive incoming messages from Backends over a queue. Outgoing messages are still dispatched by Router to various backends immediately in the main thread.
Make Router a subclass of Receiver and have it receive incoming messages from
Backends over a queue. Outgoing messages are still dispatched by Router
to various backends immediately in the main thread.

rapidsms/rapidsms-legacy,rapidsms/rapidsms-legacy,rapidsms/rapidsms-legacy