Add IPv4/6 conversions from/to Cstructs

Re #12