Some configuration changes are needed due to the move to the async http client Original commit: elastic/x-pack-elasticsearch@2f28dec0a0
This commit removes as much of the use of shield as possible in the source code. See elastic/elasticsearch#2383 Original commit: elastic/x-pack-elasticsearch@00009cc06e