You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: amqp_version.rb
    path of file: ./repos/metasploit-framework/modules/auxiliary/scanner/amqp
    
    the code of the file until where you have to start completion: ##
# This module requires Metasploit: https://metasploit.com/download
# Current source: 
    
  def run_host(target_host)
    amqp_client = Rex::Proto::Amqp::Version091::Client.new(
      target_host,
      port: datastore['RPORT'],
      context: { 'Msf' => framework, 'MsfExploit' => self },
      ssl: datastore['SSL'],
      ssl_version: datastore['SSLVersion']
    )

    amqp_client.connect
    amqp_client.send_protocol_header
    amqp_client.recv_connection_start
    server_info = amqp_client.server_info

    info_line = 'AMQP Detected'
    unless server_info[:properties]['product'].blank? || server_info[:properties]['version'].blank?
      info_line << " (version:#{server_info[:properties]['product']} #{server_info[:properties]['version']})"
    end