Shaping entangled photons through thick scattering media using an advanced wave beacon