IRClite example from the "Programming erlang" book