add ipv6 scope checking support
remove superfluous space