- added convert(instream, outstream)
- xml adapter will encode memodata in base64 if it contains non xml
chars