[ADD] Added getStats() function to WebSocketManager.js, Chrome supported only.