OptionalinitiatorMulti-stream select is a initiator/responder protocol. By default a
connection returned from upgrader.upgradeOutbound will be the initiator
and one returned from upgrader.upgradeInbound will be the responder.
Pass a value here to override the default.
OptionallimitsIf the connection is to have limits applied to it, pass them here
OptionalmuxerBy default a stream muxer protocol will be negotiated via multi-stream select after an encryption protocol has been agreed on.
If a transport provides it's own stream muxing facility pass a muxer factory instance here to skip muxer negotiation.
OptionalonIf skipEncryption is true, a remote PeerId must be supplied
If true the invoking transport is expected to implement it's own encryption and an encryption protocol will not attempted to be negotiated via multi-stream select
OptionalskipIf true no connection protection will be performed on the connection.
Options accepted by the upgrader during connection establishment