#38 - Port the Twitter middleware from katana

This is a direct port, no surprises.
This is the system wide default. If you want to change it you do it on Options.StateDataFormat, not here.