ensure first message switch receieves is hello

A test waiting in controller.connect() could wake up and send e.g. a
features_request message before the controller thread sends a hello message,
causing the switch to drop the connection.
1 file changed