web socket tuning