Convert the state machine code to use SSLfatal()