[WFLY-3690] [BZ1077156] Update to add the brackets in the xts-enviroment url when the address starts with ::1 on IPv6