presto-proxy/src/main/java/io/prestosql/proxy/ProxyResource.java/ProxyResource/responseWithHeaders
class ProxyResource:    private static Response responseWithHeaders(ResponseBuilder builder, ProxyResponse response)
    {
        response.getHeaders().asMap().forEach((headerName, value) -> {
            String name = headerName.toString();
            if (isPrestoHeader(name) || name.equalsIgnoreCase(SET_COOKIE)) {
                builder.header(name, value);
            }
        });
        return builder.build();
    }