public function getBodyWithHeaders(MessageInterface $stream)
    {
        $result = sprintf(
            '%s%s%s',
            $this->getString($stream->getHeaders()),
            PHP_EOL,
            $stream->getBody()->getContents()
        );

        return $result;
    }