Added option to enable/disable IPv6 support