bugfix tcp, template proxy for clang