src: echo: added \x and \0 escape functionality