encoding/decoding seems to work (at least with same size/contiguous
packets). Would be good to test it further !
Added simpletun.c from
"http://backreference.org/2010/03/26/tuntap-interface-tutorial/"

Will be used as reference for doing the TUN tunneling