Refactor rsync

Update rsync to working code
Add methods to use web sockets to communicate with client to perform a sync
Same issue here.  Also, speaking of `identical: true`, this code all seems very familiar.  Are you sure you can't reuse?