Perl class that converts strings to/from 2-byte Unicode UCS2 format