test_connect_delay was failing, so I backported the code from libzmq master.

Failure: test_connect_delay.cpp:96: int main(): Assertion `seen == 5' failed.