PHP IPv6 Class