Improve Firebase's push notification resilience against broken sockets

Merged François Grisez requested to merge fix/lost_push_notification_request into master

Try to send the push notification once again when the request could not been sent or no response has been received from the push notification server. That often means that the socket has been closed by the server since the last push notification request. Then, a fresh socket is created for the new push request try.

Merge request reports