8164518: JShell: Add failover case of explicitly listening to "localhost"

Reviewed-by: jlahoda
7 files changed