GSM03.38 message encoding

Add basic support for GSM03.38 encoding and fix the ASCII encoding.