dict2xml() - add data encoding support.
Add cache httplib2.Http - reuse HTTP connection.