Home Security System

Just found this thread

According to this battery life should not be an issue is managed right.
The sparks should be in deep sleep while you are home.
They should only be in a wake on interrupt mode when the security system is "on".

So I guess the question is can a spark wake on a network event?
E.g. can I send the spark a tcp message from the spark cloud or via a tcp port which makes it wake up?
Does the spark maintain an active wifi connection when in sleep mode?