Add support for IPv6.

 Fix issue #10
Update README to document ipfamily env var.
Merge pull request #11 from efine/master

Add support for IPv6.