Minimal ZMTP implementation in C