Android Google C2DM - WebSMS

I'm currently working on an application for remotely reading and sending SMS on an Android device via a web interface. The fun thing about this is that I'm using Googles C2DM, or Cloud to Device Messaging, which let's me connect to the device from the webpage without any input/clicks needed by the user on the device. When a connect request is sent via the webpage, Google pushes the message to the device which in turn establishes a TCP/IP connection to a RPC server, which in turn the webpage communicates with.