Adds missing require `socket` to elasticsearch.rb

This will fixes `NameError: uninitialized constant LogStash::Outputs::ElasticSearch::Socket` that I getting on startup.