U4ID socket creation/checksumming updates

These patches clean up the U4ID code and use new, general-purpose functions to create UDP sockets and calculate UDP checksums.