add ipv6 support to check-netstat-tcp.rb