Socket server that handles incoming sensor data