Added support to skip htmlentities on response body

Getting response through htmlentities is not always wanted
and running html_entity_decode may change the original
response body. Therefore I added option to skip
htmlentities and get the response body as it is.
Fixed two method parameters

* http_authentication method: CURLOPT_HTTPAUTH will now get
  correct type from the parameter
* cache method: chmod value will now get correct chmod value
  from the parameter