rewrote network irc class so that it works in win