private static function aggregateHeaderFromServer($server = [])
    {
        $header = [];

        if (isset($server['HTTP_HOST'])) {
            $header['Host'] = $server['HTTP_HOST'];
        }

        if (isset($server['HTTP_USER_AGENT'])) {
            $header['User-Agent'] = $server['HTTP_USER_AGENT'];
        }

        if (isset($server['HTTP_CONNECTION'])) {
            $header['Connection'] = $server['HTTP_CONNECTION'];
        }

        if (isset($server['HTTP_ACCEPT_ENCODING'])) {
            $header['Accept-Encoding'] = $server['HTTP_ACCEPT_ENCODING'];
        }

        if (isset($server['HTTP_ACCEPT_LANGUAGE'])) {
            $header['Accept-Language'] = $server['HTTP_ACCEPT_LANGUAGE'];
        }

        if (isset($server['HTTP_CACHE_CONTROL'])) {
            $header['Cache-Control'] = $server['HTTP_CACHE_CONTROL'];
        }

        if (isset($server['HTTP_ACCEPT'])) {
            $header['Accept'] = $server['HTTP_ACCEPT'];
        }

        return $header;
    }