Add option to switch off ipv6.
Merge pull request #60 from aitjcize/ipv4

Add option to switch off ipv6.