Followup fixes to PeerConnection state machine.