Add SSL option to ElasticSearch connexion and optparse backward compatib...

Aaron,
here is my attempt to do a pull request. I may not do things properly as it's the first time I attempt to do that in github...

Cheers,
-- Mathieu