simple multithreaded IRC client and library