Supported IPv6.
Merge pull request #9 from ton-katsu/support-ipv6

Supported IPv6. - Thanks for this!