lua.wetgenes.tasks_msgp.addr_to_list
parse an ip address + maybe port encoded as a string into a list of numbers, the length of the list represents the type so
#4 {1,2,3,4} -- ip4
#5 {1,2,3,4,5} -- ip4:port
#8 {1,2,3,4,5,6,7,8} -- ip6
#9 {1,2,3,4,5,6,7,8,9} -- [ip6]:port
Optionally include a numeric port to add/replace in the list after parsing.