imap-send: change msg_data from storing (ptr, len) to storing strbuf