Refactored WebSocketServer.cs
Refactored WebSocketServiceHost.cs
Refactored HttpServer.cs
Refactored HttpServer.cs and WebSocketServer.cs