reply_sent is zero in poll_send_header_and_reply