[Azoth OTRoid] Async key generation for #1221.
[Azoth OTRoid] Support session termination for #1221.