Adds UDP socket support.