[PATCH 3/3] tls: Fix state check on Client Hello