Move cookie jar handling to httpRaw