add customized encode/decode protocol for websocket client