native web socket fix