some dumb websocket boilerplate. need to things to a daemon/msg system next