A chat server written in Erlang