Added a bunch of stuff and broke the damn thing

* Added PING (!)
* Added proper text processing
* Added function binding
* Cleaned some stuff up

BUT IT'S NOT FUCKING WORKING..
It connects, recieves the motd partially, does continue to listen and
print the messages in both channel and query. However, it won't do a
single fucking thing I tell it to do, won't say anything, nothing..
Take a look at this please because it is driving me crazy and I want to
continue working on this :)