The number of threads was reduced in UpgradeHandshaker, fixed reference to SocketServer.dll, code refactored