Reduce class visibility
Refactor GcmRegistration
Add better logging when MJPEG streaming fails