Echo server written in Scala