Reset state after successful STARTTLS