use MemoryStream replace StringWriter in XmlContentSerializer's SerializeAsync method
use MemoryStream replace StringWriter in XmlContentSerializer's SerializeAsync method

PKRoma/refit,paulcbetts/refit,paulcbetts/refit