Add cookies support using hr.Cookies