Firstly, in ZooKeeper session expiration (from the client point of view) doesn't occur until you've re-established connection to a healthy ensemble. i.e. you don't know your session has ended until you reconnect.
Apache Curator (note: I'm the main author) introduces a concept of "connection state" that is an abstraction on top of ZooKeeper's internal concept of state. Importantly, Curator's connection state handling has changed from versions prior to 3.x and versions 3.x and above.
Prior to 3.x, Curator's connection state had no relationship to the ZooKeeper session. Connection state LOST only meant that the configured RetryPolicy had given up. In Curator 3.x and above, when a connection to the ensemble is lost, Curator sets an internal timer and if that timer passes the negotiated session timeout before reconnecting to the ZooKeeper ensemble, Curator changes to LOST and "fakes" a session timeout to the internally managed ZooKeeper handle.
This is described here: http://curator.apache.org/errors.html