progress toward static/websocket server switch