Create working version of elasticsearch-http-basic for ES 1.4.0