Fix config encoding

IRC to NINJAM encoding was hard coded.
Now use encoding setting in .cfg

the protocol hub is still messy design, tho.
This PR will close #14
Merge pull request #20 from teamikl/ninjam-encoding

Fix config encoding