@Gizmo, one very good option for M2M is to use MQTT. There is already a library ported for the Spark and topics in the Community you can search like this one: