Processes an {@link HttpResponse} and returns some value corresponding to that response.paramresponse The response to processreturnA value determined by the responsethrowsClientProtocolException in case of an http protocol errorthrowsIOException in case of a problem or the connection was aborted