Added WebSocketFactory as alternative to deriving from NanoWebSocketServer
moved code from NanoWebSocketServer to WebSocketResponseHandler, so that requests can be handled without the presence of NanoHTTPD
Added basic test for websockets
Simplified the test using Mockito, and expanded what was being tested along with some other minor cleanup
expanded plugins to also recieve IHTTPSession so it has more access to
the request's state. Gives plugins access to Method, HTTP Headers,
Parameters, and the raw Input Stream
Fixed plugin argument signature for markdown plugin
modified class so it could be overriden with user speicifc changes
Merge pull request #110 from rnveach/rv_expand_webserver

modified class so it could be overriden with user speicifc changes
Fix to only send content-length header if not already sent
Merge branch 'master' of https://github.com/NanoHttpd/nanohttpd
initial start on a gradle build.