Removes domain ltrim. Adds numeric cookie check