Teach `elasticsearch_http`-output about HTTPS

While this change is fairly simple, there is an issue with FTW and/or the flushing that causes it to lock up when more than `flush_size` events are queued. That issue should probably be fixed before this one is merged.