send

fun send(msg: CapdMsg)
fun send(command: ByteArray, msg: BCHserialized)
fun send(command: NetMsgType, msg: BCHserialized = BCHserialized(SerializationType.NETWORK))
fun send(command: ByteArray, msg: ByteArray)