[CODE REORG] move consume_va_from_obj

Signed-off-by: etienne basset <etienne.basset@numericable.fr>
[MINOR] strxcpy now returns number of copied bytes

Signed-off-by: etienne basset <etienne.basset@numericable.fr>
[MEDIUM] add sto2string function

Signed-off-by: etienne basset <etienne.basset@numericable.fr>
[MEDIUM] hardening : make ip/subnet ==> string function take a length arg to truncate the ouput in case it is too long instead of corrupting stack/heap/mom/dad

Signed-off-by: etienne basset <etienne.basset@numericable.fr>
[BUG] minor : correct truncation of addrv62str

Signed-off-by: etienne basset <etienne.basset@numericable.fr>
[TEST] truncation of printing IPaddr into small buff

Signed-off-by: etienne basset <etienne.basset@numericable.fr>