WIP: Added most of the message wrapping.

Made some test code that worked for most of the wrapper fields and then
started to migrate it into a function.

WORK IN PROGRESS
Fixed up the message wrapper functions.
The encrypted message now gets a little, correctly formed json blanket to get wrapped up in before adventuring into the wilderness.