Fix messages with new Adapter format

Mimics the campfire adapter using <pre>envelope</pre> object.