code: @SuppressWarnings("unchecked")
  	public <T> T readResponse(Class<T> clazz, InputStream input) throws Throwable {
  		return (T) readResponse((Type) clazz, input);
  	}
docs: Reads a JSON-PRC response from the server.  This blocks until
  a response is received.
  
  @param clazz the expected return type
  @param input the {@link InputStream} to read from
  @param <T>   the expected return type
  @return the object returned by the JSON-RPC response
  @throws Throwable on error