an xml builder using ruby’s stdlib
some tweaks to transport
fixed xml generation and added pretty formatting