imap-send: simplify v_issue_imap_cmd() and get_cmd_result() using starts_with()