public final function getHeaderArrayAsString(ehough_shortstop_api_HttpMessage $message)
    {
        $headers = $message->getAllHeaders();

        if (! is_array($headers)) {

            return '';
        }

        $toReturn = '';

        foreach ($headers as $name => $value) {

            $toReturn .= "$name: $value\r\n";
        }

        return $toReturn;
    }