Upgrades an inbound connection received by a transport listener and notifies other libp2p components about the new connection
Optional
Upgrades an outbound connection created by the dial method of a transport
dial
Upgrades an inbound connection received by a transport listener and notifies other libp2p components about the new connection