fixed wrapped messages for .net
added reply support for json formatting