kevin's version ofelasticsearch connection working http code 201 and 200