libtorrent split_string: find separator sep in last. If found, return the part before it and the remainder after it (separator dropped). If not found, return (last, "").
split_string