Factorize the max number of relays
Make GCM sender asynchronous
Encode / Decode String into / from Buffer

(rename method because it's generic)
Use maximally 4 relays on Android