Interactive REPL mode implementation
Provides the default REPL experience with in-memory client/server.