Update for IPv6 compatibility
Merge pull request #34 from Schimmelreiter/patch-3

Update for IPv6 compatibility