Redone and simplified functions around strncat/snprintf for addrtot.c
Merge sdeziel changes