test: optionally enable transport tests

The default libvirtd configuration doesn't enable TLS or TCP. Use an
environment variable to control whether the tests for a transport are
run.