public static ClientOptions from(IClientConfig config) {
        ClientOptions options = new ClientOptions();
        for (IClientConfigKey key: IClientConfigKey.Keys.keys()) {
            Object value = config.get(key);
            if (value != null) {
                options.options.put(key, value);
            }
        }
        return options;
    }
API to construct Ribbon client options to be used by {@link ResourceGroup}

@author awang
ribbon/src/main/java/com/netflix/ribbon/ClientOptions.java