made websocket client use java.net instead of java.nio
waiting for clients to close connection first
the main examples overload it.
position is not 0.
Create buffers according to maximum net and application data. Added a few asserts for better understanding.
fixed critical bugs causing random protocol errors and bug that caused server to hang on stop()
received in multiple parts and the last part was including nonpayload data.
used more than once at the time resulting in strange protocol errors.
on the same SSLEngineResult and use sslEngine directly to obtain HandshakeStatus
getResourceDescriptor do the WebSocket interface. #182
…OExceptions to the user via onError