How would you architect a networking layer to handle authentication and secure API communication for Adyen-style payments data?