Added cookie support for sites that need it