this adds ipv6 support
Merge pull request #273 from Incubaid/ipv6

this adds ipv6 support