Support for rfc 6578 webdav sync

Fixes #36.