Created by: jznadams
This fixes issue https://github.com/koush/AndroidAsync/issues/295, A crash which I have been seeing in 5% of all sessions of my Android application using this library. During certain network conditions, the transport reference can become null during the "send" operation in the heartbeat. Simply checking for null afterwards prevents the crash.