Bug 1023507 - Handle SDK failures when calling connect, r=dmose, ui-r=darrin