Stochastic epidemic models with memory, varying infectivity/susceptibility and waning immunity