sendExtended

suspend fun sendExtended(extId: Int, payload: ByteArray)

Send an extended message (BEP-10). extId 0 is the extension handshake; any other id is one the peer advertised in its handshake m dict. payload is the bencoded (+ optional appended data) extension message body.