Attempt of an implementation of draft http://www.ietf.org/id/draft-dejong-remotestorage-01.txt