Ignore repl port
Fixes #4 by adding support for :middleware in startup options.