Add HalfCloseSocket class

HalfCloseSocket class is used for show half-close function works.
Complete HalfCloseSocket class

Complete HalfCloseSocket class.