Fix send_message so that it correctly skips sending if the message pointer is 0xFFFF, not zero