* Add test confirming the issue
See https://github.com/elastic/elasticsearch-js/issues/1791
* fix: ensure new connections inherit the client instance's defaults
for https://github.com/elastic/elasticsearch-js/issues/1791
(cherry picked from commit 05e3139f80)
Co-authored-by: Josh Mock <joshua.mock@elastic.co>