websocket server and parser work now. sends json over websocket