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
You don't typically need to worry so much about type checking in js.  If path is there, it's probably enough.