A Scala implementation of STOMP