Fix log of IPv6 connections to include brackets

This is intended as a fix to issue #38