Funny, I reported something similar on the rsync mailing list a couple of months ago: https://www.mail-archive.com/rsync@lists.samba.org/msg33452....
Good to see that it will be fixed. Still, rsync is not the right tool for the job if you do not trust the server.