Add support for clients requiring basic HTTP authentication

Fixes Issue https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/491