Mozilla has an interesting project called flyweb. If you want to know what it is about and why you should have a look at it watch this video.
https://air.mozilla.org/friday-plenary-flyweb/video/
This specification aims to allow web applications to connect with and communicate to each other over local-area transport protocols. In particular, this specification aims to bring the web’s client/server application model to inter-device communication. The web’s application architecture enables an application running on a server to dynamically and incrementally send application state and logic to an intermittently connected client. This model enables a powerful multi-homed application architecture.