Fix a bit of bugs about socket