type Tunnel interface {
// Dial connects to the address on the named network, similar to// what net.Dial does. The only supported protocol is tcp.
Dial(protocol, address string) (net.Conn, error)
}
Tunnel provides ability to dial a connection through a tunnel.