netty/netty-tcnative — pull request #1 by fondemen (2014-10-23 10:55:46+00:00)
Title: Getting protocol for session

This simple pach would make possible to know what protocol is in use for a session.

If pulled, onc could later change OpenSslEngine.getSession() with:
SSLSession session = this.session;
if (session == null) {
this.session = session = new SSLSession() {
...
public String getProtocol() {
SSL.getProtocolForSSL(ssl);
}

instead of the current code