Changes to support submitting a message to GCM with blocking and modifying the exception hierarchy.