update websocket: add subst

add subst for websocket message request