Headers and helper functions for UDP and TCP packets, implementation for sending packets with raw sockets to come