CGI: search and set Status header in RFC 3875 compliant way.
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.
Merge pull request #516 from comel/cgi-fix

CGI: remove double header_size check.
perl refactoring
fixed perl stacktrace usage
added first round of tests for psgi input with offset
positive tests for psgi input
improved heartbeat mode
check for heartbeat only if heartneat is enabled
ssl: Fix fd leak on write error

Reported by Coverity as CID #1167591
ssl: avoid null pointer dereference

name is checked not to be null earlier, if it is here just error
out.

Reported by Coverity as CID #1167590
spooler: fix use after free

Reported by Coverity as CID #1153073
spooler: filename cannot be null

Since it is allocated by uwsgi_malloc.
Reported by Coverity as CID #1153071
plugins/logpipe: check setsid return code

Reported by Coverity as CID #1167589
Merge pull request #518 from xrmx/coverity0802

Some coverity fixes
fixed race condition in u_pypy_thread_attach()
sethostname fix for sun
sethostname fix for sun [2]