Add IPv4/6 conversions from/to Cstructs

Re #12 
Then shall I remove the function `to_cstruct` altogether ? The function `to_cstruct_raw` works on passed-in `cstruct`. The only difference is that `to_cstruct_raw` can raise an exception.