Krab protocol implementation in a messaging application