Move repl dependencies to dev profile. Fixes #1076.
Reorganize most of repl.clj.
Fix support for specifying host and potn
Nicer opt-port
:require clojure.string + improve readability
Minor style improvements
Major rework to properly honor options
Reorder defs
Extract connect-string function
More reordering + make testable fns public
Fix missing args in connect-string
Tests for repl
Use user/getenv to allow mocking in test
align repl host resolution with port resolution
Fix options-for-reply
Better error message for unknown subcommand
Test options-for-reply
Clarify docstring
Formatting in test code
Merge pull request #1131 from laurentpetit/master

ack port for repl :headless