Add sock_util_sendto and sock_util_recvfrom to remove duplicated routines.