https://twistedmatrix.com/trac/ticket/6537