Translation of some eirc client code to Elixir. Unfinished