Modify the TCP SSL tests to run the server and client on different event loops.
As consequence the TLS upgrade tests fail intermittently due to a race where the client can receive the server message then proceeds to upgrade while the server has not yet switched to upgrade mode and will receive the upgrade in plain text. Therefore there is an update of the upgrade method to give the opportunity to send a message and guarantee this message is sent after the upgrade configures the pipeline correctly.
Make sure also tests running with TLSv1.3 fails differently on the client for client authentication.
Modify the TCP SSL tests to run the server and client on different event loops.
As consequence the TLS upgrade tests fail intermittently due to a race where the client can receive the server message then proceeds to upgrade while the server has not yet switched to upgrade mode and will receive the upgrade in plain text. Therefore there is an update of the upgrade method to give the opportunity to send a message and guarantee this message is sent after the upgrade configures the pipeline correctly.
Make sure also tests running with TLSv1.3 fails differently on the client for client authentication.