A lossy bosonic quantum channel with non-Markovian memory