trying to fix propfind 404 requests and more porting from PHP