FIX: Updated protocol check to become more stringent.