code: private Response readResponse() throws IOException {
  		Response response = new Response();
  		response.setResponseCode(connection.getResponseCode());
  		response.setResponseMessage(connection.getResponseMessage());
  		response.setHeaders(connection.getHeaderFields());
  		try {
  			response.setBody(getStringFromStream(connection.getInputStream()));
  		} catch (IOException e) {
  			response.setBody(getStringFromStream(connection.getErrorStream()));
  		}
  		return response;
  	}
docs: A private method that handles reading the Responses from the server.
  
  @return a {@link Response} from the server.
  @throws IOException