1. implement a resend mechanism, in safe_sendMessage() in message.h,
using poll.