core/kevscript: fix #112 ipv6 handling