Differentiate IPv4 and IPv6 for console logging

When everything is treated as an IPv6 message, the console message lines get quite long. And the IPv4 method of displaying a port after the address (just append a colon and the port) doesn't work well. So go back to treating them differently for display.