SSLSocketChannel2 refactoring:  made read and write operations not work
on the same SSLEngineResult and use sslEngine directly to obtain
HandshakeStatus