add config.sniff to control elasticsearch.js client option sniffOnStart