A Stefan problem with memory and nonlinear boundary condition