protected function getOptions(Repository $config)
    {
        $result = $config->get('app.http_client');
        if (!is_array($result)) {
            $result = [];
        }
        $result['proxyhost'] = $config->get('concrete.proxy.host');
        $result['proxyport'] = $config->get('concrete.proxy.port');
        $result['proxyuser'] = $config->get('concrete.proxy.user');
        $result['proxypass'] = $config->get('concrete.proxy.password');

        return $result;
    }