Using httpcomponents library to talk to elasticsearch API (delete method of scalaj-http does not work)