don't send content-length header for chunked responses
respond based on content-length header
improve the hijack response callback