Fix: IRCClient. The example code on php.net for fwrite is wrong and can ...

...create an infinite loop if the remote server closes the connection which causes fwrite to return 0 and not false - php.net only states false as a return value on error.