R: better xml parsing and downloadImpl. seems to work at least a bit