Hacking Point of Sale: Payment Application Secrets, Threats, and Solutions