An observer for a class of nonlinear systems with time varying observation delay