Check network on NSURLConnection error

@aaustin 
Can we add logging similar to the Urban Airship SDK here? Waiting until connection available or something