wait for protocol when starting transport and allow for debug output