add xml_io.go, provide an ioReader with zero-copy