dict2xml() - data encoding support, httplib2.Http - connection reuse.