Playing with Scala and networking