fixed sni subscriptions
Merge pull request #514 from comel/cgi-fix

CGI: search and set Status header in RFC 3875 compliant way.
CGI: remove double header_size check.