create IRC.Encode module
use encodeUtf8 to convert ByteString
delete unneeded import