Compute TCP checksum

Construct the pseudoheader and ones complement that with the serialized packet (and a zero'd out checksum field).