fix rsync test
add https support