Use regular thread factories
Push local variables downscope
Refactor DefaultTcpTransport