Use binary:split/3 instead of string:tokens/2 for message splitting.