Include netinet/ip.h in ip_checksum.c to fix C/C++ function signature incompatibility
Add PCAP dumping to test_CoAP_net_packet.c