Do not set Content-Length header if debug_profile is set

Do not set Content-Length header if debug_profile is set, because $this->body doesn't contain output from Profiler.
Browser will not read more bytes than the Content-Length value and we won't get Profiler debug information.