#38 - Port the Twitter middleware from katana

This is a direct port, no surprises.
Yeah if it's not settable I don't mind as much :smile: