java client: workaround for Android missing EntityUtils.consume()