Work around build breakages with GCC 4.2. Reported by: tinderbox
Allow [] in remote address, which fixes IPv6 support. Reported by: simon