code: @Override
      public T handleResponse(final HttpResponse response) throws IOException {
  
          InputStream content = null;
          final T addresses;
  
          try {
              final StatusLine status = response.getStatusLine();
              if (status.getStatusCode() >= HttpStatus.SC_BAD_REQUEST) {
                  throw new IOException(String.format("HTTP error: %s %s", status.getStatusCode(), status.getReasonPhrase()));
              }
              content = response.getEntity().getContent();
              addresses = gsonInstance
                      .fromJson(new InputStreamReader(content, "utf-8"), responseType);
          } finally {
              if (null != content) {
                  content.close();
              }
              response.getEntity().consumeContent();
          }
  
          return addresses;
      }
docs: {@inheritDoc}
  
  @see org.apache.http.client.ResponseHandler#handleResponse(org.apache.http.HttpResponse)