[tor-commits] [snowflake/master] Make preparePeerConnection a standalone function.