quic: clean setup_cipher function