Fix for problems described in #19, needs proper tests
Fix for problems described in #19, needs proper tests

inway/mojo-rabbitmq-client,inway/mojo-rabbitmq-client,InWayOpenSource/mojo-rabbitmq-client,InWayOpenSource/mojo-rabbitmq-client