tls: make resuming sessions work again