public void setPeerId(ByteBuffer peerId) {
		if (peerId != null) {
			this.peerId = peerId;
			this.hexPeerId = Torrent.byteArrayToHexString(peerId.array());
		} else {
			this.peerId = null;
			this.hexPeerId = null;
		}
		//< obfuscated handshake extension
			this.supportsObfuscation = this.hasMagicPeerId();
		//> obfuscated handshake extension
	}