filter received string to remove end string useless characters
update c++ DemoApp to test WebSocket plugin