Adds missing require `socket` to elasticsearch.rb

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