Working on cookielib integration