The challenges of modelling microphysics: ambipolar diffusion, chemistry, and cosmic rays in MHD shocks