server: whitespace cleanups
moved host:port parsing into get_listen_addrs()

it's subtly different here than when used in other areas, but I agree with
_smf_ that this is ripe for replacement with a function in utils.js