A minimalistic protocol layer messaging library