support for sending encoded messages