Introducing input XML Formatters.

XmlOutputFormatters will be in a separate PR.
These ifdefs are present because these Async functions and Close() are absent in K10.