Fix log of IPv6 connections to include brackets