A state observer for nonlineardelay systems