Fix compilation warnings
Add new hif_get_encap callback
Fix pkt0 transport