Manage response.getEntity() value to NULL

In case response entity is NULL (which may happens when an http statusCode = 204 is received, which in turn means "NO RESPONSE": please see http://www.w3.org/Protocols/HTTP/HTRESP.html for a deeper explanation), all the stuff used to read response content should be skipped.