Update server to maintain a persistent worker connection

This will reads in the incoming worker state updates, and updates the
current internal state.