Add support for detecting bridge lines in tcp_connect test.