restrict message-switch to cohttp <0.12.0
restrict websocket to cohttp <0.12.0