set headers during syncstatic DRY
handle case when Content-Encoding isn't set
Merge pull request #151 from rizumu/syncstatic-headers

Syncstatic headers
Merge remote-tracking branch 'upstream/master'