0d592e4051
The mutex used for the `homeserver` field is very short-lived, so use a std mutex instead, which makes a few methods sync instead of async.