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