APP-112 added support for rekeying a session