Create client and skeleton for server
Implement simple long polling
Change from mutable state to state machine
Add server side timeout