add httpclient and xml support