public Peer(string peerId, Uri connectionUri, EncryptionTypes encryption = EncryptionTypes.All)
{
if (peerId == null)
throw new ArgumentNullException("peerId");
if (connectionUri == null)
throw new ArgumentNullException("connectionUri");
_connectionUri = connectionUri;
Encryption = encryption;
PeerId = peerId;
}