Implement Socket.io for Progress bar