Partial transplant of 4743f33626ef (bug 25191) from rabbitmq-server (without anything about actually sending connection.blocked because - you know.
A very stupid proton-c based test.
Remove calls to tests. May as well leave them there in case proton can be persuaded to not segfault.
Merged bug25820 into default