api: remove unneeded stuff, add special header for android httpurlconnection which seems to be retarded