Http and xml memory usage, is it efficient?

That is perfect, I didn't even think of the move constructor. I'll double check the code, but I'm pretty sure I saw the buffer was a smart pointer.