Require twisted 17.1 or later (fixes [#3741](https://github.com/matrix-org/synapse/issues/3741)).