A Novel Traffic Based Framework for Smartphone Security Analysis