fix syntax error in websocket client example