This ticket is about implementing the tor-side of the Extended ORPort and TransportControlPort (proposal 196).