added support for sending message objects
0.2.0