Add option to disable IPv6

Fixes #50