title: Determine which TLS version was negotiated by client to a netty server
body: <p>I'm using a netty server. I don't want to enforce a specific TLS version for customers but I do want to know which TLS version is negotiated for each incoming connection to the server.</p>
  <p>I can't find any way to determine that from the ssl handshake completion event or any other way to extract it from the handler.</p>
  <p>Is it possible to get this information?</p>
  <p>I don't see how it can be got from</p>
  <ul>
  <li><a href="https://netty.io/4.0/api/io/netty/handler/ssl/SslHandshakeCompletionEvent.html" rel="nofollow noreferrer">https://netty.io/4.0/api/io/netty/handler/ssl/SslHandshakeCompletionEvent.html</a></li>
  <li><a href="https://netty.io/4.0/api/io/netty/handler/ssl/SslHandler.html" rel="nofollow noreferrer">https://netty.io/4.0/api/io/netty/handler/ssl/SslHandler.html</a></li>
  </ul>
  <p>Thanks!</p>
  <p><strong>EDIT</strong> I poked around a bit and found &quot;sslHandler.engine().getSession().getProtocol()&quot; but still need to test and see if it works.</p>