Whenever the HttpsServer encounters a TLS problem, it closes the TCP connection without sending an alert. As a result, diagnosing such problems on the client side is harder than it needs to be. The server should send an alert before closing the connection.