Fixed IP version mismatch in loopback example, added IPv4 and IPv6 checks to IpAddress, set CMake to also install asio headers.