add ws client part and change ws server