better example with web socket!
Merge pull request #13 from liyu1981/dev

better example with web socket!