Added handling of host in the IPv6 checks.

Closes #19.