[RAILS] Replace the Elasticsearch client with plain Net::HTTP