Fix If-Modified-Since handling

Change-Id: Ie99df26b4edac01c183f620d36e86acd76e5ae6f
[test] Exit not-so-cleanly when the test/malformed.js server refuses to close
[dist] v0.4.6