cIRC: changed structure to use a single global connection struct
cIRC: added input loop and added actually working connection to freenode