def get_builder_obj(shell_id, command_id, &block)
      body = { "#{NS_WIN_SHELL}:DesiredStream" => 'stdout stderr',
        :attributes! => {"#{NS_WIN_SHELL}:DesiredStream" => {'CommandId' => command_id}}}
      builder = Builder::XmlMarkup.new
      builder.instruct!(:xml, :encoding => 'UTF-8')
      builder.tag! :env, :Envelope, namespaces do |env|
        env.tag!(:env, :Header) { |h| h << Gyoku.xml(merge_headers(header,resource_uri_cmd,action_receive,selector_shell_id(shell_id))) }
        env.tag!(:env, :Body) do |env_body|
          env_body.tag!("#{NS_WIN_SHELL}:Receive") { |cl| cl << Gyoku.xml(body) }
        end
      end
      builder
    end
def get_builder_obj(shell_id, command_id, &block)
      body = { "#{NS_WIN_SHELL}:DesiredStream" => 'stdout stderr',
        :attributes! => {"#{NS_WIN_SHELL}:DesiredStream" => {'CommandId' => command_id}}}
      builder = Builder::XmlMarkup.new
      builder.instruct!(:xml, :encoding => 'UTF-8')
      builder.tag! :env, :Envelope, namespaces do |env|
        env.tag!(:env, :Header) { |h| h << Gyoku.xml(merge_headers(header,resource_uri_cmd,action_receive,selector_shell_id(shell_id))) }
        env.tag!(:env, :Body) do |env_body|
          env_body.tag!("#{NS_WIN_SHELL}:Receive") { |cl| cl << Gyoku.xml(body) }
        end
      end
      builder
    end
Override winrm to support sspinegotiate option.
 @param [String,URI] endpoint the WinRM webservice endpoint
 @param [Symbol] transport either :kerberos(default)/:ssl/:plaintext
 @param [Hash] opts Misc opts for the various transports.
   @see WinRM::HTTP::HttpTransport
   @see WinRM::HTTP::HttpGSSAPI
   @see WinRM::HTTP::HttpSSL
 Get the builder obj for output request
 @param [String] shell_id The shell id on the remote machine.  See #open_shell
 @param [String] command_id The command id on the remote machine.  See #run_command
 @return [Builder::XmlMarkup] Returns a Builder::XmlMarkup for request message