moved allowGzip to outer condition and set default header to empty-string

so that there's no need to handle null via StringUtil.isEmpty()
Merge pull request #304 from igal-getrailo/cleanup-006

moved allowGzip to outer condition and set default header to empty-string