Rewrote state engine for OpenSSL connection establishment to be more easily reasoned about