A CGMiner monitor using websockets for a client-server architecture