HipChat clone in Scala