1. A mobile device for optimizing signaling for proprietary or non-proprietary application protocols, comprising: a memory having stored thereon instructions, which when executed by a processor coupled to the memory causes the mobile device to: establish a session based on a transport layer protocol with a server; send or receive transaction requests associated with a mobile application on the mobile device to or from the server over the session; detect, based on characteristics not specific to any application protocols, a pattern from the transaction requests; and terminate the session with the server upon detecting the pattern.