Add cookie handling support