first commit for webdav support
improved buffer json escaping
added xml buffer escaper