Persistent connection daemon for mobile devices written in java.