helo: added IPv6 support to invalid_localhost

and also suppress a test warning
Jared, that :127. is for [IPv4 mapped IPv6 address](http://en.wikipedia.org/wiki/IPv6#IPv4-mapped_IPv6_addresses). I agree, having an is_localhost() method would be handy dandy.