Strong coupling to magnetic fluctuations in the charge dynamics of iron-based superconductors