Convert synapse.app and federation client to async/await.