made websocket client use java.net instead of java.nio (addresses #88,
#155, #167, #175, #177, #187) (changes not yet fully tested)
prevented unnecessary attempts to decode of empty buffers
fixed deadlock in server( #195 ) thanks @DeHecht for isolating the
problem
tweaked WebsocketServer.stop to perform a graceful shutdown
-made socket output stream gets flushed after every frame
-made close frames require a close frame in response before closing the
underlying socket
added missing method getResourceDescriptor
fixed npe cause by racing condition #205
Merge branch 'Davidiusdadi/master'
fixed websocket client socket not being closed in some cases and server
waiting for clients to close connection first
Merge pull request #205 from Davidiusdadi/master

made websocket client use java.net instead of java.nio