Adding support for IPv6

I have implemented IPv6 for this great lib. I've take the code from another ping library but it was I little bit messy and give the appropriate credits for it.