Adding udp protocole to socket functions + samples to use as template