Work in progress: toward support for messages > 160 bytes in length.  UTF-8 string length function for determining number of characters/codepoints and number of bytes in a particular string; we'll use this to allocate the correct amount of space for its UCS-2 Unicode equivalent.