ipv6 integration fixes

Disable for build using -DLWS_IPV6= on the cmake line
6 files changed