add socket close method
Merge branch 'master' of https://github.com/liangzou/simpelRpc