Fix a bug of tc_socket_send.

The bug arises when *send* system call returns with part of data transfered
and part of data still need to be sent again.