add send message thread

use send message thread to send a packet though the sending socket
created by the client thread