Because the only thing serializing a CInv would add would be the MSG_TX byte, and strCommand already encodes that information.