Use length-prefix strings instead of null-terminated strings to support passing strings with embedded nul characters.