Stop using response.getResponseBodyAsStream, close #1094