implementation and test for rpc response

RPC as described here: https://www.rabbitmq.com/tutorials/tutorial-six-python.html