change ws protcol