add ipv6 support
Merge pull request #13 from kovalevfm/master

add ipv6 support