New option (use-ws) to control usage of WebSocketServer in HTTPServer

'use-ws' option controls whether to get WebSocketServer instance or not