send method
Implementation
@override
void send(AbstractMessage message) {
if (!isOpen) throw StateError('RawSocket transport is not open.');
final nextProfile = _flatBuffersProfile?.prepareOutgoing(message);
_sendMessage(message);
_flatBuffersProfile = nextProfile;
if (message is Goodbye) _goodbyeSent = true;
}