Started handling iso-8859-1 as well as utf8. Fixed handling of cleartext in channel.