A simple RabbitMQ/AMPQ client protocol stack implementation in c and python