WIP: Add server side web socket interface for server->client sync

Update rsync to working code
Add methods to use web sockets to communicate with client to perform a sync
Throughout this code you do checks like this.  Unless you really need to compare against `undefined` (hint: you almost never should), then you don't need type checks.  Prefer `if(!entry.identical)`