Adding Packet handling on UDP sockets