Honor “Connection: close” setting from the response header

User handler can set "Connection: close" header to control closing of the connection after response is sent.
the handler also closes the connection