finish http server automata and begin websocket support