SSLSocketChannel2 refactoring:  made read and write operations not work
on the same SSLEngineResult and use sslEngine directly to obtain
HandshakeStatus
fixed rare fatal racing condition in SSLSocketChannel2 ( #190 )
Fixed fatal error in buffer management which could cause buffers to be
used more than once at the time resulting in strange protocol errors.
fixed case in which a the bytes could be skipped when the handshake was
received in multiple parts and the last part was including nonpayload
data.
applied fix submitted by @DeHecht ( #191 )
Merge pull request #193 from Davidiusdadi/master

fixed critical bugs causing random protocol errors and bug that caused server to hang on stop()