Added full IPv6 support. Closes #9