nREPL middleware to support refactorings in an editor agnostic way