repl task: use specified ack ports in :headless subcommand
Merge pull request #1131 from laurentpetit/master

ack port for repl :headless