Implement parseGoogleHeaders outside of appController.