I had the answer from a colleague of mine. Aparently the analytics is trying to send the data as text. You have to set the flag ssl to true.
"analytics": {
"rsids": "swisscomappmyswisscom20dev",
"server": "swisscom.sc.omtrdc.net",
"ssl": true, <- This one
"offlineEnabled": true,
"charset": "UTF-8",