Move body/url cloning/copying out to a transaction struct