Ion-acoustic shocks with self-regulated ion reflection and acceleration