VSCP (Very Simple Control Protocol) is a framework for IoT/m2m tasks. The framework defines methods to have a common device discovery, a common configuration, a common way to interface with remote devices and a common way to update firmware of devices built on different architectures. A server is available that runs on many platforms that have a webserver/websocket/rest/driver and tcp/ip interface with ssl security.
A short introduction is available here and here.
Documentation in different formats is available here.
Guides on how to setup and test the system on different platforms can be found here.
Also there is a with many examples for different platforms and a HTML5 websocket UI repository.