Fix incorrect handling of addresses from environment and configuration
Fix incorrect handling of addresses from environment and configuration

elastic/go-elasticsearch,elastic/go-elasticsearch,elastic/go-elasticsearch,elastic/go-elasticsearch