send message as bytes if applicable, default to
string otherwise