warn and reject reentering streams at client too

Clients now check whether their streams are attempting to re-enter
the Tor network (i.e. to send Tor traffic over Tor), and they close
them preemptively if they think exit relays will refuse them.

See bug 2667 for details. Resolves ticket 40271.
9 jobs for ticket40271 in 16 minutes and 32 seconds (queued for 2 seconds)