add socket example
Merge branch 'master' of github.com:linfan-/gist