Extended version of https://github.com/element-hq/synapse Contains changes related to the Circles project