Trim data receive from client in demo.
Remove useless code.