first attempt at websocket server