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