backport If-Modified-Since fix from tornado

See facebook/tornado#713

closes #3177
Merge pull request #3181 from minrk/ifsince

backport If-Modified-Since fix from tornado

See facebook/tornado#713

closes #3177