Add PayloadDecoder.
First version of the basic session-in-a-cookie methods.