Fixed message store bug, ctx.response.body actually returns a Buffer not...

... a string. Also, handled the case where it is undefined.

Fixes #69