Adding ipv6 validation

I mentioned in #9393 that I was going to do this, but when I tested the regexp there, it failed on my own link local address. A quick Google got me a regexp that is freakin' long, but seems to work. Cut into segments to fit into 80 columns.