adding message body reader/writer that works with AS7 patched with resteasy 2.3.5.Final. Various small bugfixes for NPEs and the like.