Return: the value of the
syncinteger constant used in the binary protocol. This value becomes invalid when the session is disconnected.
This function is local for the request, i.e. not global for the session. If the connection behind the session is multiplexed, this function can be safely used inside the request processor.