Adding in SSL (poorly) and the QOS stuff from issue https://github.com/elasticsearch/elasticsearch-river-rabbitmq/pull/38