public async Task <MessageFrame> ReadMessageFrameAsync(CancellationToken cancellationToken)
 {
     return(await Task.Run(() => _queueSocket.Read(cancellationToken), cancellationToken));
 }
        private NodeGreetingMessage ReadGreeting()
        {
            var messageFrame = _queueSocket.Read();

            return(NodeGreetingMessage.DeserializeWithoutLength(messageFrame.RawMessage, 1));
        }