This adds support for the `via` query parameter from https://github.com/matrix-org/matrix-spec-proposals/pull/4156.