Add support for knocking, as per [MSC2403](https://github.com/matrix-org/matrix-doc/pull/2403).