Merge pull request #1 from bambooshell/master

support socket connection,message handling