class EventMachine::Protocols::HttpClient2

def set_default_host_header host, port, ssl

Other tags:
    Private: -
def set_default_host_header host, port, ssl
  if (ssl and port != 443) or (!ssl and port != 80)
    @host_header = "#{host}:#{port}"
  else
    @host_header = host
  end
end