Add HTTP Auth and SSL to the ES output plugin

This is the same as elasticsearch/logstash#1777