parseCommaSeparatedString
libtorrent parse_comma_separated_string: split input on commas, trimming leading and trailing ASCII whitespace from each element. Empty elements are kept (the C++ pushes back the possibly-empty substring), matching the outgoing_interfaces-style parsing.