server: persist the next transaction id with every connection

Signed-off-by: David Scott <dave.scott@eu.citrix.com>