Handle IPv6 in ctl.conf

Ticket:	#5890