presto-client/src/main/java/io/prestosql/client/OkHttpUtil.java/OkHttpUtil/setupCookieJar
class OkHttpUtil:    public static void setupCookieJar(OkHttpClient.Builder clientBuilder)
    {
        clientBuilder.cookieJar(new JavaNetCookieJar(new CookieManager()));
    }