Attempt to authenticate the client before request processing to discover their PeerID.
If the requireAuth option is false, no authentication will be attempted
unless the client initiates it.
If it is true or undefined, the server will initiate the authentication
handshake if the client has not done so.
Attempt to authenticate the client before request processing to discover their PeerID.
If the
requireAuthoption is false, no authentication will be attempted unless the client initiates it.If it is
trueorundefined, the server will initiate the authentication handshake if the client has not done so.