Bug 1033402 - waitForSocket() before connecting to marionette.

Hrm then I think it was a bug before, but it's possible that (even if that code wasn't exercised) it's being invoked differently since you changed `#connect`