Add test for IPv4 and IPv6.
Fix typo.
Change version to 1.2.1.
Merge branch 'release/1.2.1'