public function evaluate()
    {
        // TODO: Adjust for Neos 5.0 (PSR-7)
        $httpResponse = new Response();
        $httpResponse->setVersion($this->getHttpVersion());
        $httpResponse->setStatus($this->getStatusCode());
        $httpResponse->setHeaders(new Headers());

        foreach ($this->getHeaders() as $name => $value) {
            $httpResponse->setHeader($name, $value);
        }

        return implode("\r\n", $httpResponse->renderHeaders()) . "\r\n\r\n";
    }