Checksum optimizations tcp

Motivated by FlowForwarding/LINC-Switch#293.