The small‐scale structure of electrostatic shocks