code: def send_request(params, payload=nil, content_type=nil)
          req_params = setup_request(params, payload, content_type)
  
          handled_request(req_params) do
            request = RestClient::Request.new(req_params)
  
            response = request.execute
            if ![200, 201, 202, 204].include?(response.code)
              @logger.warn "Warning: unattended code #{response.code}"
            end
  
            parsed_response = Nokogiri::XML(response)
            @logger.debug "Send request result: #{parsed_response}"
  
            [parsed_response, response.headers]
          end
        end
docs: Sends a synchronous request to the vCloud API and returns the response as parsed XML + headers.