Fix the .gitignore, improve the git version Makefile
The log max is 0XFFFFFF not 0XFF

  * update the log.h accordingly.
Add a maybe state to mindlesslyCacheVary.

  * When mindlesslyCacheVary is set to maybe, we try to check other
    header information in the cache to consider if the resource is
    obsolete or not.
  * This is not compliant with the RFC since we should ensure that the
    Vary header is consistent between requests. This is not the case here.
  * This will only "work" if used as a single browser cache.

  + Non-author changes to origial patch:

  * Grammar, spelling and syntax corrections.
Diskcache: Fix a minor Bug.

  * Under some conditions we can write outside the buffer. Oops.
CacheControl: Real fix for max_age and s_maxage

  * We must save the cache control directives related to max_age
    and s_maxage on disk and restore them on load.
  * I hope I don't introduce any regressions in this commit.

  + Non-author changes to origial patch:

  * As per upstream commit 5b1a11faa6dc9c6b7e8c5673c21c3b45a4ecd717
    lines 61 and 75 of the original patch have been updated so that
    the 'NULL' object is now '&cache_control'.

  * Trailing whitespace deleted.
io.c: Fix a ressource leak on error.
http_parse.c: fix a false memory leak.

  * just for the fun, but this should never occur.
  * add an assert for debug mode.

  + Non-author changes to origial patch:

  * Removed trailing whitespace.
event.c: Fix potential leak on error.

  * Try to restore pointers as they should be...
diskcache.c: Fix memory leak on error.

  * Reassign oldbuf to buff to free it on error.
diskcache.c: Fix a memory leak on failure.
config.c: Fix a memory leak on error [i].
config.c: Fix a memory leak on error [ii].
dns.c: Avoid a null dereference on error.
local.c: avoid a NULL dereference on error.
dns.c: check return value.
diskcache.c: check return value.
server.c: don't pass a negative value.
http_parse.c: if error, then return ...
io.c: By principle, don't use strcpy.

  * even if safe here, don't use it.
http.c: By principle, don't use strcpy.

  * even if safe here, don't use it.