added Message class and methods for unicode normalization