Tiny (probably useless) speed optimizations.
Initial implementation of logging into Elasticsearch.

This combines logs from HAProxy's syslog and the gatekeeper proxy, since
both have pros and cons.