Adds support for changes from pull

Computes delta on scheduled pull.
Pushes changes to user actor.
Handles updates on client side.
Correctly close WebSocket on server side, handle close and error events on client side.