Wrap IPv6 in brackets in the prompt.

There are atleast two more places where `config.hostip` is printed (an error message and in `cliReadReply`). Should I fix them aswell or just the []-wrapping be a function?