modified GroupHandle & SocketStream function