Network emulation in clojure