Probing Structure and History of Dark Matter Halos with Gravitational Lensing Observations