Add support for more HTTP headers and rename a couple of packages.

Support added for the following HTTP headers:

 If-Match
 If-None-Match
 If-Modified-Since
 If-Unmodified-Since

Also added a check for HEAD method by preventing the file body being sent.