splitDomainLabels
private fn
string[] splitDomainLabels(string domain) @safeSplit a domain name into labels using mapped dots.
Parameters
domain | Domain name (Unicode or ASCII) to split. |
Returns
Array of labels (may include empty labels if input contains consecutive dots).