building an erlang chat server with comet part 2