TcpTransport: fix interface compatibility.