Allow headers in get and support If-None-Match

This pull request fixes some broken tests, and adds header support to get and handling of `304 Not Modifed` as a response to support using `If-None-Match`.