Add AGPL license header to udp.c