Beginning on websocket support. Set up app-state atom for use with om rendering.