Prevent using the wrong protocol