Provided implementation for Subnet::toElement() which handles all common members, reworked Subnet<4/6>::toElement() to use this.