Langevin simulations with colored noise and non-Markovian dissipation