minor cleanup
first support for HTTP GCM push notifications