update to work with latest rust version
add json config support and dns resolution
refactor irc module into its own library
4 space indentation scares me, going back to 2