Make it easier to inject a different transport class.