fix some bugs of socket thread
Merge branch 'master' of ssh://github.com/Determinant/piztor