[core] fix SIGUSR1 graceful restart w/ TLS (fixes #3164)
[core] fix SIGUSR1 graceful restart w/ TLS (fixes #3164)

(thx oldium)

fix SIGUSR1 graceful restart with TLS sockets
(regression in lighttpd 1.4.65)

x-ref:
  "Graceful restart starts sending 400 Bad Request for SSL connection handshake"
  https://redmine.lighttpd.net/issues/3164

gstrauss/lighttpd1.4,gstrauss/lighttpd1.4,lighttpd/lighttpd1.4,lighttpd/lighttpd1.4,gstrauss/lighttpd1.4,gstrauss/lighttpd1.4,lighttpd/lighttpd1.4,gstrauss/lighttpd1.4,lighttpd/lighttpd1.4,lighttpd/lighttpd1.4,lighttpd/lighttpd1.4,gstrauss/lighttpd1.4