refactor nanomsg lisp api, rewrite echo tests