Instead of adding a bool for async_replication in es_http, allow multiple flags.