A secure MTConnect compatible IoT platform for machine monitoring through integration of fog computing, cloud computing, and communication protocols