imap-send: handle NULL return of next_arg()