Checksum optimization in UDP

Motivated by FlowForwarding/LINC-Switch#276.